package srw;

import java.util.Vector;

/**
 * presents for which Word from result tree corresponds {@link Argument} object
 *
 */

public class TreeArgument {
	private Argument _argument;
	private WordTreeNode _treeNode;
	private int _number;
	
	public TreeArgument(Argument argument, WordTreeNode treeNode, int number) {
		_argument = argument;
		_treeNode = treeNode;
		_number = number;
	}

	public Argument getArgument() {
		return _argument;
	}

	public WordTreeNode getTreeNode() {
		return _treeNode;
	}

	public int getNumber() {
		return _number;
	}

	public boolean accepts(Vector<Property> properties) {
		return _argument.accepts(properties);
	}
	
	
	
}
